# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-cloudpickle
pkgver=1.5.0
pkgrel=0
pkgdesc="Extended pickling support for Python objects"
url="https://pypi.org/project/cloudpickle/"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-psutil"
source="https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-$pkgver.tar.gz"
builddir=$srcdir/cloudpickle-$pkgver
options="!check" # upstream test suite is badly broken

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="75356e3e5ade2ee5941b4cea576f1ffbab5d9b1a86eff23dc9275974f592c947d0b3b29d335b4dc38be16e36c89c8fc65b2883ae90923960e605502c777d9816  cloudpickle-1.5.0.tar.gz"
